package com.hrd.mybatis.bean.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TCurrencyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitEnd = -1;

    public TCurrencyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFidIsNull() {
            addCriterion("fID is null");
            return (Criteria) this;
        }

        public Criteria andFidIsNotNull() {
            addCriterion("fID is not null");
            return (Criteria) this;
        }

        public Criteria andFidEqualTo(Integer value) {
            addCriterion("fID =", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotEqualTo(Integer value) {
            addCriterion("fID <>", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThan(Integer value) {
            addCriterion("fID >", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fID >=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThan(Integer value) {
            addCriterion("fID <", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThanOrEqualTo(Integer value) {
            addCriterion("fID <=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidIn(List<Integer> values) {
            addCriterion("fID in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotIn(List<Integer> values) {
            addCriterion("fID not in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidBetween(Integer value1, Integer value2) {
            addCriterion("fID between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotBetween(Integer value1, Integer value2) {
            addCriterion("fID not between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidIsNull() {
            addCriterion("fItemClassID is null");
            return (Criteria) this;
        }

        public Criteria andFitemclassidIsNotNull() {
            addCriterion("fItemClassID is not null");
            return (Criteria) this;
        }

        public Criteria andFitemclassidEqualTo(Integer value) {
            addCriterion("fItemClassID =", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidNotEqualTo(Integer value) {
            addCriterion("fItemClassID <>", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidGreaterThan(Integer value) {
            addCriterion("fItemClassID >", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fItemClassID >=", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidLessThan(Integer value) {
            addCriterion("fItemClassID <", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidLessThanOrEqualTo(Integer value) {
            addCriterion("fItemClassID <=", value, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidIn(List<Integer> values) {
            addCriterion("fItemClassID in", values, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidNotIn(List<Integer> values) {
            addCriterion("fItemClassID not in", values, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidBetween(Integer value1, Integer value2) {
            addCriterion("fItemClassID between", value1, value2, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFitemclassidNotBetween(Integer value1, Integer value2) {
            addCriterion("fItemClassID not between", value1, value2, "fitemclassid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidIsNull() {
            addCriterion("fCompanyID is null");
            return (Criteria) this;
        }

        public Criteria andFcompanyidIsNotNull() {
            addCriterion("fCompanyID is not null");
            return (Criteria) this;
        }

        public Criteria andFcompanyidEqualTo(Integer value) {
            addCriterion("fCompanyID =", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidNotEqualTo(Integer value) {
            addCriterion("fCompanyID <>", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidGreaterThan(Integer value) {
            addCriterion("fCompanyID >", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fCompanyID >=", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidLessThan(Integer value) {
            addCriterion("fCompanyID <", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidLessThanOrEqualTo(Integer value) {
            addCriterion("fCompanyID <=", value, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidIn(List<Integer> values) {
            addCriterion("fCompanyID in", values, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidNotIn(List<Integer> values) {
            addCriterion("fCompanyID not in", values, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidBetween(Integer value1, Integer value2) {
            addCriterion("fCompanyID between", value1, value2, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFcompanyidNotBetween(Integer value1, Integer value2) {
            addCriterion("fCompanyID not between", value1, value2, "fcompanyid");
            return (Criteria) this;
        }

        public Criteria andFnoIsNull() {
            addCriterion("fNO is null");
            return (Criteria) this;
        }

        public Criteria andFnoIsNotNull() {
            addCriterion("fNO is not null");
            return (Criteria) this;
        }

        public Criteria andFnoEqualTo(String value) {
            addCriterion("fNO =", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotEqualTo(String value) {
            addCriterion("fNO <>", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoGreaterThan(String value) {
            addCriterion("fNO >", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoGreaterThanOrEqualTo(String value) {
            addCriterion("fNO >=", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLessThan(String value) {
            addCriterion("fNO <", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLessThanOrEqualTo(String value) {
            addCriterion("fNO <=", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoLike(String value) {
            addCriterion("fNO like", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotLike(String value) {
            addCriterion("fNO not like", value, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoIn(List<String> values) {
            addCriterion("fNO in", values, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotIn(List<String> values) {
            addCriterion("fNO not in", values, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoBetween(String value1, String value2) {
            addCriterion("fNO between", value1, value2, "fno");
            return (Criteria) this;
        }

        public Criteria andFnoNotBetween(String value1, String value2) {
            addCriterion("fNO not between", value1, value2, "fno");
            return (Criteria) this;
        }

        public Criteria andFdateIsNull() {
            addCriterion("fDate is null");
            return (Criteria) this;
        }

        public Criteria andFdateIsNotNull() {
            addCriterion("fDate is not null");
            return (Criteria) this;
        }

        public Criteria andFdateEqualTo(Date value) {
            addCriterion("fDate =", value, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateNotEqualTo(Date value) {
            addCriterion("fDate <>", value, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateGreaterThan(Date value) {
            addCriterion("fDate >", value, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateGreaterThanOrEqualTo(Date value) {
            addCriterion("fDate >=", value, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateLessThan(Date value) {
            addCriterion("fDate <", value, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateLessThanOrEqualTo(Date value) {
            addCriterion("fDate <=", value, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateIn(List<Date> values) {
            addCriterion("fDate in", values, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateNotIn(List<Date> values) {
            addCriterion("fDate not in", values, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateBetween(Date value1, Date value2) {
            addCriterion("fDate between", value1, value2, "fdate");
            return (Criteria) this;
        }

        public Criteria andFdateNotBetween(Date value1, Date value2) {
            addCriterion("fDate not between", value1, value2, "fdate");
            return (Criteria) this;
        }

        public Criteria andFstatusidIsNull() {
            addCriterion("fStatusID is null");
            return (Criteria) this;
        }

        public Criteria andFstatusidIsNotNull() {
            addCriterion("fStatusID is not null");
            return (Criteria) this;
        }

        public Criteria andFstatusidEqualTo(Integer value) {
            addCriterion("fStatusID =", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidNotEqualTo(Integer value) {
            addCriterion("fStatusID <>", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidGreaterThan(Integer value) {
            addCriterion("fStatusID >", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fStatusID >=", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidLessThan(Integer value) {
            addCriterion("fStatusID <", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidLessThanOrEqualTo(Integer value) {
            addCriterion("fStatusID <=", value, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidIn(List<Integer> values) {
            addCriterion("fStatusID in", values, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidNotIn(List<Integer> values) {
            addCriterion("fStatusID not in", values, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidBetween(Integer value1, Integer value2) {
            addCriterion("fStatusID between", value1, value2, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFstatusidNotBetween(Integer value1, Integer value2) {
            addCriterion("fStatusID not between", value1, value2, "fstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidIsNull() {
            addCriterion("fRunStatusID is null");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidIsNotNull() {
            addCriterion("fRunStatusID is not null");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidEqualTo(Integer value) {
            addCriterion("fRunStatusID =", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidNotEqualTo(Integer value) {
            addCriterion("fRunStatusID <>", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidGreaterThan(Integer value) {
            addCriterion("fRunStatusID >", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fRunStatusID >=", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidLessThan(Integer value) {
            addCriterion("fRunStatusID <", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidLessThanOrEqualTo(Integer value) {
            addCriterion("fRunStatusID <=", value, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidIn(List<Integer> values) {
            addCriterion("fRunStatusID in", values, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidNotIn(List<Integer> values) {
            addCriterion("fRunStatusID not in", values, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidBetween(Integer value1, Integer value2) {
            addCriterion("fRunStatusID between", value1, value2, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFrunstatusidNotBetween(Integer value1, Integer value2) {
            addCriterion("fRunStatusID not between", value1, value2, "frunstatusid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridIsNull() {
            addCriterion("fOperUserID is null");
            return (Criteria) this;
        }

        public Criteria andFoperuseridIsNotNull() {
            addCriterion("fOperUserID is not null");
            return (Criteria) this;
        }

        public Criteria andFoperuseridEqualTo(Integer value) {
            addCriterion("fOperUserID =", value, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridNotEqualTo(Integer value) {
            addCriterion("fOperUserID <>", value, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridGreaterThan(Integer value) {
            addCriterion("fOperUserID >", value, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("fOperUserID >=", value, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridLessThan(Integer value) {
            addCriterion("fOperUserID <", value, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridLessThanOrEqualTo(Integer value) {
            addCriterion("fOperUserID <=", value, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridIn(List<Integer> values) {
            addCriterion("fOperUserID in", values, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridNotIn(List<Integer> values) {
            addCriterion("fOperUserID not in", values, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridBetween(Integer value1, Integer value2) {
            addCriterion("fOperUserID between", value1, value2, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperuseridNotBetween(Integer value1, Integer value2) {
            addCriterion("fOperUserID not between", value1, value2, "foperuserid");
            return (Criteria) this;
        }

        public Criteria andFoperdateIsNull() {
            addCriterion("fOperDate is null");
            return (Criteria) this;
        }

        public Criteria andFoperdateIsNotNull() {
            addCriterion("fOperDate is not null");
            return (Criteria) this;
        }

        public Criteria andFoperdateEqualTo(Date value) {
            addCriterion("fOperDate =", value, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateNotEqualTo(Date value) {
            addCriterion("fOperDate <>", value, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateGreaterThan(Date value) {
            addCriterion("fOperDate >", value, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateGreaterThanOrEqualTo(Date value) {
            addCriterion("fOperDate >=", value, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateLessThan(Date value) {
            addCriterion("fOperDate <", value, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateLessThanOrEqualTo(Date value) {
            addCriterion("fOperDate <=", value, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateIn(List<Date> values) {
            addCriterion("fOperDate in", values, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateNotIn(List<Date> values) {
            addCriterion("fOperDate not in", values, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateBetween(Date value1, Date value2) {
            addCriterion("fOperDate between", value1, value2, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFoperdateNotBetween(Date value1, Date value2) {
            addCriterion("fOperDate not between", value1, value2, "foperdate");
            return (Criteria) this;
        }

        public Criteria andFmemoIsNull() {
            addCriterion("fMemo is null");
            return (Criteria) this;
        }

        public Criteria andFmemoIsNotNull() {
            addCriterion("fMemo is not null");
            return (Criteria) this;
        }

        public Criteria andFmemoEqualTo(String value) {
            addCriterion("fMemo =", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoNotEqualTo(String value) {
            addCriterion("fMemo <>", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoGreaterThan(String value) {
            addCriterion("fMemo >", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoGreaterThanOrEqualTo(String value) {
            addCriterion("fMemo >=", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoLessThan(String value) {
            addCriterion("fMemo <", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoLessThanOrEqualTo(String value) {
            addCriterion("fMemo <=", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoLike(String value) {
            addCriterion("fMemo like", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoNotLike(String value) {
            addCriterion("fMemo not like", value, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoIn(List<String> values) {
            addCriterion("fMemo in", values, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoNotIn(List<String> values) {
            addCriterion("fMemo not in", values, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoBetween(String value1, String value2) {
            addCriterion("fMemo between", value1, value2, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFmemoNotBetween(String value1, String value2) {
            addCriterion("fMemo not between", value1, value2, "fmemo");
            return (Criteria) this;
        }

        public Criteria andFcreatoridIsNull() {
            addCriterion("fCreatorID is null");
            return (Criteria) this;
        }

        public Criteria andFcreatoridIsNotNull() {
            addCriterion("fCreatorID is not null");
            return (Criteria) this;
        }

        public Criteria andFcreatoridEqualTo(Integer value) {
            addCriterion("fCreatorID =", value, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridNotEqualTo(Integer value) {
            addCriterion("fCreatorID <>", value, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridGreaterThan(Integer value) {
            addCriterion("fCreatorID >", value, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridGreaterThanOrEqualTo(Integer value) {
            addCriterion("fCreatorID >=", value, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridLessThan(Integer value) {
            addCriterion("fCreatorID <", value, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridLessThanOrEqualTo(Integer value) {
            addCriterion("fCreatorID <=", value, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridIn(List<Integer> values) {
            addCriterion("fCreatorID in", values, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridNotIn(List<Integer> values) {
            addCriterion("fCreatorID not in", values, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridBetween(Integer value1, Integer value2) {
            addCriterion("fCreatorID between", value1, value2, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatoridNotBetween(Integer value1, Integer value2) {
            addCriterion("fCreatorID not between", value1, value2, "fcreatorid");
            return (Criteria) this;
        }

        public Criteria andFcreatedateIsNull() {
            addCriterion("fCreateDate is null");
            return (Criteria) this;
        }

        public Criteria andFcreatedateIsNotNull() {
            addCriterion("fCreateDate is not null");
            return (Criteria) this;
        }

        public Criteria andFcreatedateEqualTo(Date value) {
            addCriterion("fCreateDate =", value, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateNotEqualTo(Date value) {
            addCriterion("fCreateDate <>", value, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateGreaterThan(Date value) {
            addCriterion("fCreateDate >", value, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("fCreateDate >=", value, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateLessThan(Date value) {
            addCriterion("fCreateDate <", value, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateLessThanOrEqualTo(Date value) {
            addCriterion("fCreateDate <=", value, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateIn(List<Date> values) {
            addCriterion("fCreateDate in", values, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateNotIn(List<Date> values) {
            addCriterion("fCreateDate not in", values, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateBetween(Date value1, Date value2) {
            addCriterion("fCreateDate between", value1, value2, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFcreatedateNotBetween(Date value1, Date value2) {
            addCriterion("fCreateDate not between", value1, value2, "fcreatedate");
            return (Criteria) this;
        }

        public Criteria andFmenderidIsNull() {
            addCriterion("fMenderID is null");
            return (Criteria) this;
        }

        public Criteria andFmenderidIsNotNull() {
            addCriterion("fMenderID is not null");
            return (Criteria) this;
        }

        public Criteria andFmenderidEqualTo(Integer value) {
            addCriterion("fMenderID =", value, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidNotEqualTo(Integer value) {
            addCriterion("fMenderID <>", value, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidGreaterThan(Integer value) {
            addCriterion("fMenderID >", value, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fMenderID >=", value, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidLessThan(Integer value) {
            addCriterion("fMenderID <", value, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidLessThanOrEqualTo(Integer value) {
            addCriterion("fMenderID <=", value, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidIn(List<Integer> values) {
            addCriterion("fMenderID in", values, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidNotIn(List<Integer> values) {
            addCriterion("fMenderID not in", values, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidBetween(Integer value1, Integer value2) {
            addCriterion("fMenderID between", value1, value2, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmenderidNotBetween(Integer value1, Integer value2) {
            addCriterion("fMenderID not between", value1, value2, "fmenderid");
            return (Criteria) this;
        }

        public Criteria andFmodifydateIsNull() {
            addCriterion("fModifyDate is null");
            return (Criteria) this;
        }

        public Criteria andFmodifydateIsNotNull() {
            addCriterion("fModifyDate is not null");
            return (Criteria) this;
        }

        public Criteria andFmodifydateEqualTo(Date value) {
            addCriterion("fModifyDate =", value, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateNotEqualTo(Date value) {
            addCriterion("fModifyDate <>", value, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateGreaterThan(Date value) {
            addCriterion("fModifyDate >", value, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateGreaterThanOrEqualTo(Date value) {
            addCriterion("fModifyDate >=", value, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateLessThan(Date value) {
            addCriterion("fModifyDate <", value, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateLessThanOrEqualTo(Date value) {
            addCriterion("fModifyDate <=", value, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateIn(List<Date> values) {
            addCriterion("fModifyDate in", values, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateNotIn(List<Date> values) {
            addCriterion("fModifyDate not in", values, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateBetween(Date value1, Date value2) {
            addCriterion("fModifyDate between", value1, value2, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFmodifydateNotBetween(Date value1, Date value2) {
            addCriterion("fModifyDate not between", value1, value2, "fmodifydate");
            return (Criteria) this;
        }

        public Criteria andFcheckeridIsNull() {
            addCriterion("fCheckerID is null");
            return (Criteria) this;
        }

        public Criteria andFcheckeridIsNotNull() {
            addCriterion("fCheckerID is not null");
            return (Criteria) this;
        }

        public Criteria andFcheckeridEqualTo(Integer value) {
            addCriterion("fCheckerID =", value, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridNotEqualTo(Integer value) {
            addCriterion("fCheckerID <>", value, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridGreaterThan(Integer value) {
            addCriterion("fCheckerID >", value, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridGreaterThanOrEqualTo(Integer value) {
            addCriterion("fCheckerID >=", value, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridLessThan(Integer value) {
            addCriterion("fCheckerID <", value, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridLessThanOrEqualTo(Integer value) {
            addCriterion("fCheckerID <=", value, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridIn(List<Integer> values) {
            addCriterion("fCheckerID in", values, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridNotIn(List<Integer> values) {
            addCriterion("fCheckerID not in", values, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridBetween(Integer value1, Integer value2) {
            addCriterion("fCheckerID between", value1, value2, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckeridNotBetween(Integer value1, Integer value2) {
            addCriterion("fCheckerID not between", value1, value2, "fcheckerid");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateIsNull() {
            addCriterion("fCheckerDate is null");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateIsNotNull() {
            addCriterion("fCheckerDate is not null");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateEqualTo(Date value) {
            addCriterion("fCheckerDate =", value, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateNotEqualTo(Date value) {
            addCriterion("fCheckerDate <>", value, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateGreaterThan(Date value) {
            addCriterion("fCheckerDate >", value, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateGreaterThanOrEqualTo(Date value) {
            addCriterion("fCheckerDate >=", value, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateLessThan(Date value) {
            addCriterion("fCheckerDate <", value, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateLessThanOrEqualTo(Date value) {
            addCriterion("fCheckerDate <=", value, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateIn(List<Date> values) {
            addCriterion("fCheckerDate in", values, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateNotIn(List<Date> values) {
            addCriterion("fCheckerDate not in", values, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateBetween(Date value1, Date value2) {
            addCriterion("fCheckerDate between", value1, value2, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFcheckerdateNotBetween(Date value1, Date value2) {
            addCriterion("fCheckerDate not between", value1, value2, "fcheckerdate");
            return (Criteria) this;
        }

        public Criteria andFarchivesidIsNull() {
            addCriterion("fArchivesID is null");
            return (Criteria) this;
        }

        public Criteria andFarchivesidIsNotNull() {
            addCriterion("fArchivesID is not null");
            return (Criteria) this;
        }

        public Criteria andFarchivesidEqualTo(Integer value) {
            addCriterion("fArchivesID =", value, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidNotEqualTo(Integer value) {
            addCriterion("fArchivesID <>", value, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidGreaterThan(Integer value) {
            addCriterion("fArchivesID >", value, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidGreaterThanOrEqualTo(Integer value) {
            addCriterion("fArchivesID >=", value, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidLessThan(Integer value) {
            addCriterion("fArchivesID <", value, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidLessThanOrEqualTo(Integer value) {
            addCriterion("fArchivesID <=", value, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidIn(List<Integer> values) {
            addCriterion("fArchivesID in", values, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidNotIn(List<Integer> values) {
            addCriterion("fArchivesID not in", values, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidBetween(Integer value1, Integer value2) {
            addCriterion("fArchivesID between", value1, value2, "farchivesid");
            return (Criteria) this;
        }

        public Criteria andFarchivesidNotBetween(Integer value1, Integer value2) {
            addCriterion("fArchivesID not between", value1, value2, "farchivesid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}